<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>10_Web Workers-为什么要学习webworkers</title>
    </head>
    <body>
        <script>
            console.log(11111);

            // web workers 用来处理特别耗时的操作
            for(var i = 0; i < 500; i++){
                for(var j = 0; j < 500; j++){
                    console.log(i,j);
                }
            }

            console.log(22222);
        </script>
    </body>
</html>